package com.example.annoaop;

import org.springframework.stereotype.Component;

/**
 * @Author: wyp
 * @Date: 2021/9/2 10:04
 */
@Component
public class Hello {
    public void say(){
        //验证异常
//        int i = 1/0;
        System.out.println("被增强方法say()");
    }
}
